package org.example.design.Flyweight.bean;

import lombok.Data;

/**
 * @Classname Stock
 * @Description 库存实体类
 * @Date 2020/11/5 2:32 下午
 * @Created by xiangjd
 */

@Data
public class Stock {
    //总数
    private int total;
    //已使用
    private int used;

    public Stock(int total, int used) {
        this.total = total;
        this.used = used;
    }
}
